/*
 * @Author: liuyonghu
 * @Date: 2021-05-07 15:17:07
 * @LastEditTime: 2021-05-07 16:51:21
 * @LastEditors: liuyonghu
 * @Description: 
 * @FilePath: \my-computer\babel.config.js
 */
module.exports = {
//   presets: ["@vue/cli-plugin-babel/preset"],
  plugins: [
    // [
    //   "import",
    //   {
    //     libraryName: "element-plus",
    //     customStyleName: (name) => {
    //       name = name.slice(3);
    //       return `element-plus/packages/theme-chalk/src/${name}.scss`;
    //     },
    //   },
    // ],
    [
      "import",
      {
        libraryName: "element-plus",
        customStyleName: (name) => {
          return `element-plus/lib/theme-chalk/${name}.css`;
        },
      },
    ],
  ],
};
